const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const ArticleSchema = new Schema({
  title: String,
  desc: String,
  createTime: {
    type: Date,
    default: Date.now
  }
})

mongoose.model('Article', ArticleSchema);